package com.sy.dubbo;

import com.weimob.o2o.dishes.groupcanteen.api.GroupCanteenDishesQueryApi;
import com.weimob.o2o.dishes.groupcanteen.api.dishes.request.GroupCanteenDishesListRequest;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.support.ClassPathXmlApplicationContext;

@Configuration
public class ApplicationStarter {


    public static void main(String[] args) throws InterruptedException {


        ClassPathXmlApplicationContext classPathXmlApplicationContext=new ClassPathXmlApplicationContext("provider.xml");
//
//        GroupCanteenDishesQueryApi groupCanteenDishesQueryApi= classPathXmlApplicationContext.getBean(GroupCanteenDishesQueryApi.class);
//        GroupCanteenDishesListRequest groupCanteenDishesListRequest=new GroupCanteenDishesListRequest();
//        groupCanteenDishesQueryApi.dishesList(groupCanteenDishesListRequest);

    }
}
